package com.kpmg.datalake.common.model;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 字典数据表
 * </p>
 *
 * @author azhao6
 * @since 2018-08-16
 */
@TableName("DICT_TP")
public class ComDictType implements Serializable {

  private static final long serialVersionUID = -842044186493394621L;
  /**
   * 主键
   */
  @TableId(type = IdType.UUID)
  private String dictTypeId;
  /**
   * 字典类型
   */
  private String dictType;
  /**
   * 类型描述
   */
  private String dictTypeDsc;
  /**
   * 该列对应的映射字段编码
   */
  private String fldCd;
  /**
   * 对应的表名
   */
  private String tableNm;
  /**
   * 对应的字段名
   */
  private String columnNm;

  /**
   * 是否有效
   */
  private Double delInd;
  /**
   * 创建人
   */
  private String crtUsrId;
  /**
   * 创建时间
   */
  private Date crtDt;
  /**
   * 更新人
   */
  private String udtUsrId;
  /**
   * 更新时间
   */
  private Date udtDt;


  public String getDictTypeId() {
    return dictTypeId;
  }

  public void setDictTypeId(String dictTypeId) {
    this.dictTypeId = dictTypeId;
  }

  public String getDictType() {
    return dictType;
  }

  public void setDictType(String dictType) {
    this.dictType = dictType;
  }

  public String getDictTypeDsc() {
    return dictTypeDsc;
  }

  public void setDictTypeDsc(String dictTypeDsc) {
    this.dictTypeDsc = dictTypeDsc;
  }

  public String getFldCd() {
    return fldCd;
  }

  public void setFldCd(String fldCd) {
    this.fldCd = fldCd;
  }

  public String getTableNm() {
    return tableNm;
  }

  public void setTableNm(String tableNm) {
    this.tableNm = tableNm;
  }

  public String getColumnNm() {
    return columnNm;
  }

  public void setColumnNm(String columnNm) {
    this.columnNm = columnNm;
  }

  public Double getDelInd() {
    return delInd;
  }

  public void setDelInd(Double delInd) {
    this.delInd = delInd;
  }

  public String getCrtUsrId() {
    return crtUsrId;
  }

  public void setCrtUsrId(String crtUsrId) {
    this.crtUsrId = crtUsrId;
  }

  public Date getCrtDt() {
    return crtDt;
  }

  public void setCrtDt(Date crtDt) {
    this.crtDt = crtDt;
  }

  public String getUdtUsrId() {
    return udtUsrId;
  }

  public void setUdtUsrId(String udtUsrId) {
    this.udtUsrId = udtUsrId;
  }

  public Date getUdtDt() {
    return udtDt;
  }

  public void setUdtDt(Date udtDt) {
    this.udtDt = udtDt;
  }

  @Override
  public String toString() {
    return getClass().getName() + JSONObject.toJSONString(this);
  }
}
